import { defineComponent } from "vue";

export default defineComponent({
  data() {
    return {
      name: "admin",
      num: 0,
    };
  },
  mounted() {
    console.log("App init");
  },
  render() {
    return (
      <div class="app">
        <h1>{this.name}</h1>
        <p>{this.num}</p>
        <button onClick={() => this.num++}>click++</button>
      </div>
    );
  },
});
